package foodmaterial.dto;

import java.math.BigDecimal;
import java.util.List;

public class CalculateExceedResult {
    public static class Result {
        private String name;//食材名称
        private BigDecimal salePrice; //销售价格
        private Integer amount ;
        private BigDecimal total; //金额
        //private Double proportion; //比例

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public BigDecimal getSalePrice() {
            return salePrice;
        }

        public void setSalePrice(BigDecimal salePrice) {
            this.salePrice = salePrice;
        }

        public Integer getAmount() {
            return amount;
        }

        public void setAmount(Integer amount) {
            this.amount = amount;
        }

        public BigDecimal getTotal() {
            return total;
        }

        public void setTotal(BigDecimal total) {
            this.total = total;
        }

        /*public Double getProportion() {
            return proportion;
        }

        public void setProportion(Double proportion) {
            this.proportion = proportion;
        }*/
    }

    private List<Result> results ;
    private BigDecimal totalMoney ;
    private Boolean exceed = Boolean.FALSE;

    public List<Result> getResults() {
        return results;
    }

    public void setResults(List<Result> results) {
        this.results = results;
    }

    public BigDecimal getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(BigDecimal totalMoney) {
        this.totalMoney = totalMoney;
    }

    public Boolean getExceed() {
        return exceed;
    }

    public void setExceed(Boolean exceed) {
        this.exceed = exceed;
    }
}
